<template>
  <div class="errPage-container">
    <el-row>
      <el-col :span="12">
        <h1 class="text-jumbo text-ginormous">401</h1>
        <h2>您没有权限访问该页面</h2>
        <h6>请联系管理员获取访问权限</h6>
        <ul class="list-unstyled">
          <li class="link-type">
            <router-link to="/">
              返回首页
            </router-link>
          </li>
        </ul>
      </el-col>
      <el-col :span="12">
        <img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
      </el-col>
    </el-row>
  </div>
</template>

<script setup>
import { ref } from 'vue'

// 引入401错误图片
const errGif = ref('https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646')
</script>

<style lang="scss" scoped>
.errPage-container {
  width: 800px;
  max-width: 100%;
  margin: 100px auto;
  .text-jumbo {
    font-size: 60px;
    font-weight: 700;
    color: #484848;
  }
  .text-ginormous {
    font-size: 100px;
    line-height: 1;
  }
  .list-unstyled {
    font-size: 14px;
    li {
      padding-bottom: 5px;
    }
    a {
      color: #42b983;
      text-decoration: none;
      &:hover {
        text-decoration: underline;
      }
    }
  }
}
</style> 